﻿<%@ Page Language="vb" ContentType="text/xml" AutoEventWireup="false" CodeBehind="rss.aspx.vb" Inherits="felixfinalproject2.rss" %>

<asp:Repeater id="rptRSS" runat="server">
  <HeaderTemplate>
    <rss version="2.0">
      <channel>
        <title>UPDATES ON LATEST CAR VIEWS</title>
        <link>Default.aspx</link>
        <description>
          this is the RSS feed for the prototype website
        </description>
  </HeaderTemplate>

  <ItemTemplate>
        <item>
          <title><%# FormatForXML(DataBinder.Eval(Container.DataItem,"model"))%></title>
          <description>
             <%# FormatForXML(DataBinder.Eval(Container.DataItem, "body_type"))%>
          </description>
          <link>details.aspx?ID=<%# DataBinder.Eval(Container.DataItem, "ID") %>
          </link>
        </item>
  </ItemTemplate>
  <FooterTemplate>
      </channel>
    </rss>  
  </FooterTemplate>
</asp:Repeater>
